const {getMusicHttp}=require('../../utils/P-music')
Page({
    data: {
        musics:[]
    },
    onLoad: function (options) {
        console.log(options)
        var offset=this.data.offset;
        getMusicHttp(offset).then(res=>{
            var musics=res.data.playlists;
            console.log(musics)
            this.setData({
                musics
            })
        })
    }

   
})